package com.mybook.app.exception;

import com.mybook.app.error.Error;

/**
 * Created by hdl on 2017/11/3.
 */
public class FileUploadException extends WebException {
    @Override
    public Error getCode() {
        return Error.FILE_UPLOAD_FAIL;
    }

    @Override
    public String getErrorMessage() {
        return getCode().getMessage();
    }
}
